﻿using System;

using SharedGenomics.Core;
using SharedGenomics.Workbench.Core;

namespace SharedGenomics.Workbench.Messages
{
    public class OpenTaskMessage
    {
        public OpenTaskMessage(ITask task)
        {
            task.ThrowIfNull("task");
            this.Task = task;
        }

        public ITask Task { get; private set; }
    }
}
